﻿using System;

namespace MadLibrary
{
    /// <summary>
    /// Simply sets program properties.
    /// </summary>
    public class ProgramPropertyAttribute : Attribute
    {
        /// <summary>
        /// Gets or sets property name.
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets property value.
        /// </summary>
        public object Value { get; set; }

        /// <summary>
        /// Program property attribute
        /// </summary>
        /// <param name="Name">Name.</param>
        /// <param name="Value">Value.</param>
        public ProgramPropertyAttribute(string Name, object Value)
        {
            this.Name = Name;
            this.Value = Value;
        }
    }
}